import Vue from 'vue'
import App from './App.vue'
import router from './router'

// HTTP_API 处理模块
import api from './api'
let xhttp = new api()
Vue.prototype.$api = xhttp
// Object.defineProperty(Vue.prototype, '$api', { value: api })
// import axios from 'axios'
// Vue.prototype.$api = axios


Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
